module.exports = {
    ports:[3000,8084,3002],
    env:"development",
    maxSockets:50000,
    cookieSecret:"this is module ",
    requestWait:60000, //请求其他系统等待时间ms
    redisSessionOption:{
        maxAge:24*60*60*1000,
        ttl:24*60*60,
        db:1,
        host:"127.0.0.1",
        port:"",
        prefix:"NGM::",
        secret:"redis node gulp secret abcdef"
    },

    server_host: "cs.api.hongkzh.com", //adc.com    //cs.api.hongkzh.com   //api.hongkzh.cn  //  192.168.200.28
    server_port: "",  //8083  8082
    path_carousel:"/v1/carousel",
    path_adv:"/v1/adv",
    path_user:"/v1/user",
    path_mediaAdv:"/v1/mediaAdv",
    path_enterpriseAdv:"/v1/enterpriseAdv",
    path_shop:"/v1/shop",
    path_friend:"/v1/friend",
    path_cityAdv:"/v1/cityAdv",
    path_recruit:"/v1/recruit",
    path_init:"/v1/init",
    path_mediaShop:"/v1/mediaShop",
    path_sell:"/v1/sell",
    path_game:"/v1/game",


    log4js:{
        mixWrite:true, // 错误日志是否写入info日志中
        terminalPrint:true, //日志是否打印到控制台,windows平台为true时不会创建和写入文件
        "appenders":[
            {
                "category":"log_info",
                "type": "dateFile",
                "filename": "./logs/info/",
                "pattern": "yyyyMMdd.info.log",
                "absolute": false,
                "alwaysIncludePattern": true
            },{
                "category": "log_error",
                "type": "dateFile",
                "filename": "./logs/error/",
                "absolute": false,
                "pattern": "yyyyMMdd.error.log",
                "alwaysIncludePattern": true
            }
        ],
        "replaceConsole": false,
        "levels":{
            "log_info":"ALL",
            "log_error":"error"
        }
    }
};